package soft.service;


import soft.pojo.Grade;

import java.util.List;
import java.util.Map;

public interface GradeService {
	List<Grade> getList();
	Grade getByIdAndCourseName(String sId,String courseName);
	boolean update(Grade bean);
	boolean addGrade(Grade bean);
	boolean deleteGrade(String sId);
	List<Map> selectGradeBycourseName();
	List<Map> selectAvgGrade();
	List<Grade> getLikeName(String sName);
	List<Grade> getById(String sId);
}
